<template>
  <div class="student">
    <div class="title">
      <div class="name">你的同学</div>
      <div class="num">4235人</div>
    </div>
    <div class="info-card">
      <div v-for="(item,index) in 12" :key="index" class="info">
        <div>
          <img
            src="../../../../../../assets/image/onlineStudent/student.png"
            alt=""
          />
        </div>
        <div class="name">张伟</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
@import '../../../../common/index.less';
.student {
  padding: 25px 20px;
  background: @baseBgColor;
  margin-bottom: 30px;
  .title {
    .flex(space-between, center);
    .name {
      font-size: 16px;
      font-weight: bold;
      color: #303133;
      .before();
    }
    .num{
      font-size: 12px;
      color: #999999;
    }
  }
  .info {
    display: inline-block;
    margin-top: 20px;
    margin-right: 10px;
    width: 55px;
    text-align: center;
    img {
      width: 55px;
      height: 63px;
    }
    .name{
      font-size: 12px;
      color: #4D555D;
    }
  }
}
</style>
